
export default {
    namespaced: true,
    state: () => ({
        banDialogData:{
            user:{}
        },
        isBanDialogActive:false
    }),
    mutations: {
        popBanDialog(state, payload) {
            state.isBanDialogActive = true
            state.banDialogData = payload
        },
        closeBanDialog(state) {
            state.isBanDialogActive = false
            state.banDialogData = {
                user:{}
            }
        } 
    }
}